package com.roncoo.education.course.service.dao.impl.mapper.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
@ToString
public class CoursePeriodMemory implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long courseId;

    private Long chapterId;

    private Long periodId;

    private Long userNo;

    private LocalDateTime gmtCreate;

    private LocalDateTime gmtModified;

    private Long videoNo;

    private String lastMemory;

    private Integer isFinish;
}
